package com.myproject.mall.goods.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.myproject.mall.domain.entity.Goods;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GoodsMapper extends MPJBaseMapper<Goods> {

//    @Select("select g.*,  from scmall_goods g, scmall_shop s, scmall_user u, scmall_brand b, scmall_category c where g.goods_id = #{goodsId} and g.goods_shop_id = s.shop_id and g.goods_user_id = u.user_id and g.goods_brand_id = b.brand_id and g.goods_category_id = c.category_id" )
//    public GoodsDTO getGoodsDetail(@Param("goodsId")Long goodsId);
}
